﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UniRlv.COL;

namespace UniRlv.Utility
{
    public static class PublicObject
    {
        //public static IServerOpr srv { get; set; }
        public static CompanyInfo CurCompany { get; set; }
        public static User CurUser { get; set; }
        public static string BindingIP { get; set; }
        public static ProductionTask CurTask { get; set; }
        public static List<PrintInfo> CurPrintInfos { get; set; }
        public static ProductionLine CurLine { get; set; }
        public static ProductInfo CurProduct { get; set; }

        public static MyList<CodeInfo> arrCode1 { get; set; }
        public static List<CodeInfo> arrCode2 { get; set; }
        public static List<CodeInfo> arrCode3 { get; set; }
        public static List<CodeInfo> arrCode4 { get; set; }
        public static List<string> CodeScanned { get; set; }//所有历史已扫描数据，启动任务时加载
        public static List<string> CodeValid { get; set; }//合法数据，启动任务时加载
        public static List<CodeRltInfo> CodeRlt { get; set; }//关联码数据，启动任务时加载
        public static bool bSecond { get; set; }
        public static bool bPrint { get; set; }//外包装码是否通过打印
        public static int Picks1 { get; set; }
        public static int Picks2 { get; set; }
        public static int Picks3 { get; set; }
        public static int TopLoss { get; set; }//顶级码自动扫码漏扫
        public static int TopMan { get; set; }//顶级码手动扫码
    }
}
